package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Master;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MasterMapper {

    public List<Master> getMasters();

    public boolean addMaster(Master master);

    public boolean deleteMasterById(int id);

    public Master getMasterById(int id);

    boolean updateMaster(Master master);

    boolean updateMasterStatus(Master master);

}
